package com.jacklin.VO;

import lombok.Data;

import java.io.Serializable;

/**
 * http返回给前端的视图对象
 * @Author:JackLin
 * @Create 2019/3/26 22:11
 */
@Data
public class ResultVO<T> implements Serializable {


    //快捷键alt+s
    private static final long serialVersionUID = -3535464631865598772L;


    /** 错误码. */
    private Integer code;

    /** 提示信息. */
    private String msg;

    /**具体内容，这里定义为泛型*/
    private T data;
}
